package com.xiaozhu.controller.test;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 朱慧军
 * @version 1.0
 */

@RestController
@RequestMapping("/hello")
@Slf4j
public class  HelloController {


    @GetMapping
    public String hello() {
        log.info("测试成功，项目环境搭建没有问题");
        return "Hello World";
    }
}
